const state = {
  unreadCount: 0
}

const mutations = {
  SET_SYS_LOG_COUNT: (state, logcount) => {
    state.unreadCount = logcount
  }
}

const actions = {
  setSysLogCount({ commit }, logcount) {
    commit('SET_SYS_LOG_COUNT', logcount)
  }
}

export default {
  namespaced: true,
  state,
  mutations,
  actions
}
